import Vue from 'vue'
import VueRouter from 'vue-router'


Vue.use(VueRouter)

const routes = [
  {
    path:'/',
    redirect:'/sy'
  },
  {
    path:'/sy',
    name: 'sy',
    component: () => import('../views/sy.vue')
  },
  {
    path:'/login',
    name: 'login',
    component: () => import('../views/login.vue')
  },
  {
    path:'/user',
    name: 'user',
    component: () => import('../views/user.vue')
  },
  {
    path:'/search',
    name: 'search',
    component: () => import('../views/search.vue')
  },
  {
    path:'/comment',
    name: 'comment',
    component: () => import('../views/comment.vue')
  },
  {
    path:'/Mv',
    name: 'Mv',
    component: () => import('../views/Mv.vue')
  },
  {
    path:'/Morehotmusic',
    name: 'Morehotmusic',
    component: () => import('../views/Morehotmusic.vue')
  },
  {
    path:'/MoreRecommendmusic',
    name: 'MoreRecommendmusic',
    component: () => import('../views/MoreRecommendmusic.vue')
  },
  {
    path:'/MoreRecommendRadio',
    name: 'MoreRecommendRadio',
    component: () => import('../views/MoreRecommendRadio.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router
